package cn.fbs.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "video.upload")
public class UploadVideoProperties {

    private String doestUrl;
    private List<String> allowTypes;

    public String getDoestUrl() {
        return doestUrl;
    }

    public void setDoestUrl(String doestUrl) {
        this.doestUrl = doestUrl;
    }

    public List<String> getAllowTypes() {
        return allowTypes;
    }

    public void setAllowTypes(List<String> allowTypes) {
        this.allowTypes = allowTypes;
    }
}
